<!DOCTYPE html>

<!--[if IE 8]> <html lang="en" class="ie8 no-js"> <![endif]-->

<!--[if IE 9]> <html lang="en" class="ie9 no-js"> <![endif]-->

<!--[if !IE]><!-->

<html lang="en" class="no-js">

<!--<![endif]-->

<!-- BEGIN HEAD -->

<head>

    <include file="Inc/basic_css"/>

    <include file="Inc/basic_js"/>

    <import type="js" basepath="__JS__" file="AjaxFileUpload,imgpre,admin" />

    <import type="js" basepath="__PLUGIN__" file="ueditor.ueditor#config,ueditor.ueditor#all#min,ueditor.lang.zh-cn.zh-cn" />

    <link rel="stylesheet" type="text/css" href="__PLUGIN__/bootstrap-datepicker/css/datepicker.css" />

    <script type="text/javascript" src="__PLUGIN__/bootstrap-datepicker/js/bootstrap-datepicker.js"></script>
    <script type="text/javascript" src="__LAYUI__/layui.all.js"></script>

    <style type="text/css">

        *{

            margin:0px;

            padding:0px;

        }

        body, button, input, select, textarea {

            font: 12px/16px Verdana, Helvetica, Arial, sans-serif;

        }

        #container {

            width:600px;

            height:600px;

            float: left;

        }

    </style>



</head>

<!-- END HEAD -->

<!-- BEGIN BODY -->

<body class="page-header-fixed" onload="init();">

<!-- BEGIN HEADER -->

<include file="Inc/head"/>

<!-- END HEADER -->

<div class="clearfix"></div>

<!-- BEGIN CONTAINER -->

<div class="page-container">

    <!-- BEGIN SIDEBAR -->

    <include file="Inc/left"/>

    <!-- END SIDEBAR -->

    <!-- BEGIN PAGE -->

    <div class="page-content">



        <!-- BEGIN STYLE CUSTOMIZER -->

        <include file="Inc/theme"/>

        <!-- END BEGIN STYLE CUSTOMIZER -->

        <!-- BEGIN PAGE HEADER-->

        <div class="row">

            <div class="col-md-12">

                <!-- BEGIN PAGE TITLE & BREADCRUMB-->

                <h3 class="page-title">

                    {$cfg.title}<if condition="$dataInfo.id gt 0 ">车辆排期<else />车辆排期</if> <small></small>

                </h3>

                <ul class="page-breadcrumb breadcrumb">

                    <li><i class="fa fa-home"></i><a href="{:U('Index/index')}">首页</a> <i class="fa fa-angle-right"></i></li>

                    <li><a href="#">排期编辑</a><i class="fa fa-angle-right"></i></li>

                    <li><a href="#">{$cfg.title}<if condition="$dataInfo.id gt 0 ">查看信息<else />查看信息</if></a><i class="fa fa-angle-right"></i></li>

                </ul>					<!-- END PAGE TITLE & BREADCRUMB-->

            </div>

        </div>

        <!-- END PAGE HEADER-->

        <!-- BEGIN PAGE CONTENT-->

        <div class="row">

            <div class="col-md-12">

                <!-- BEGIN EXAMPLE TABLE PORTLET-->

                <div class="portlet">

                    <!--

                    <div class="portlet-title">

                        <div class="caption">

                            <i class="fa fa-reorder"></i>站点信息

                        </div>

                    </div>-->

                    <form class="form-horizontal" action="{:U('Cardate/save')}"  id="submit_form" method="post">

                        <div class="portlet-body form">
                            <!-- BEGIN FORM-->
                            <div class="form-body">
                                <div class="form-group">
                                    <label class="col-md-3 control-label">编号：</label>
                                    <div class="col-md-4">
                                        <input type="text" class="form-control" name='id' value="{$order['id']}" readonly />
                                    </div>
                                </div>
                                <div class="form-group">
                                    <label class="col-md-3 control-label">结束时间：</label>
                                    <div class="col-md-4">
                                        <input type="text" class="form-control" name="driver_end" id="driver_end" value="{$order['driver_end']}" autocomplete="off" />
                                    </div>
                                </div>
                                <!-- <div class="form-group">
                                    <label class="col-md-3 control-label">车型：</label>
                                    <div class="col-md-4">
                                        <select class="form-control" name="cartype_id">
                                            <option value="">请选择车型</option>
                                            <foreach name='cartypeList' item='item'>
                                                <option value="{$item.id}" <if condition="$item['id'] eq $car['cartype_id']">selected</if>>{$item.title}</option>
                                            </foreach>
                                        </select>
                                    </div>
                                </div> -->

                            </div>

                        </div>

                        <div class="form-actions top fluid ">

                            <div class="col-md-offset-3 col-md-9">

                                <button class="btn green" type="submit">提交</button>

                                <button class="btn default" type="button" id="cancel" onclick="history.go(-1)">返回</button>

                            </div>

                        </div>

                    </form>

                    <!-- END FORM-->







                </div>

            </div>

            <!-- END EXAMPLE TABLE PORTLET-->

        </div>

    </div>

    <!-- END PAGE CONTENT -->

</div>

<!-- END CONTAINER -->

<!-- BEGIN FOOTER -->

<include file="Inc/foot"/>

<!-- END FOOTER -->

<!-- BEGIN JAVASCRIPTS(Load javascripts at bottom, this will reduce page load time) -->



<!-- END CORE PLUGINS -->

<!-- BEGIN PAGE LEVEL SCRIPTS -->

<script src="__JS__/app.js" type="text/javascript"></script>

<script src="__JS__/form-components.js"></script>

<script src="__JS__/controllers/new/edit.js" type="text/javascript"></script>



<!-- END PAGE LEVEL SCRIPTS -->

<script>
    $(function(){
        layui.use('laydate', function(){
            var laydate = layui.laydate;
            laydate.render({
                elem: '#driver_end', //指定元素
                type:'datetime'
            });

        });
    })
    jQuery(document).ready(function() {

        App.init(); // initlayout and core plugins

        NewValidation.init();

        FormComponents.init();

    });

</script>

</body>

<!-- END BODY -->

</html>